//
//  myCarModel.m
//  OneCreditTreasure
//
//  Created by iOS Tedu on 16/8/30.
//
//

#import "myCarModel.h"

@implementation myCarModel

+ (NSArray *)demoData {
    myCarModel *model = [self new];
    model.carName = @"保时捷-Boxster";
    model.carType = YDBCarTypeNewCar;
    model.carTypeName = @"2015款 BoxsterStyleEdition2.7L";
    model.payment = @"522900";
    model.totalPayment = @"522900";
    model.firstPay = @"224100";
    model.plateNum = @"浙A-12345";
    model.carFrameNum = @"123456";
    model.engineNum = @"654321";
    model.carPrice = @"154";
    model.driveDistance = @"0";
    model.listingDate = @"2013-03-07";
    
    myCarModel *model1 = [self new];
    model1.carType = YDBCarTypeSecondCar;
    model1.carName = @"奥迪-A6";
    model1.carTypeName = @"2015款 BoxsterStyleEdition2.7L";
    model1.totalPayment = @"522900";
    model1.firstPay = @"224100";
    model1.payment = @"522900";
    model1.plateNum = @"浙A-54321";
    model1.carFrameNum = @"123456";
    model1.engineNum = @"654321";
    model1.carPrice = @"54";
    model1.driveDistance = @"20000";
    model1.listingDate = @"2014-04-09";
    
    return @[model, model1];
}

@end